package com.changfen.service.impl;

import com.changfen.dao.es.EsBaseDao;
import com.changfen.dao.es.EsKlineDao;
import com.changfen.domain.Kline;
import com.changfen.service.BaseService;
import com.changfen.service.KlineService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Date;
import java.util.List;

/**
 * @author 86180
 * @Classname KlineServiceImpl
 * @Description TODO
 * @Date 2022/8/28 18:00
 */
@Service
public class KlineServiceImpl extends BaseServiceImpl<Kline, String> implements KlineService<Kline,String> {
    @Resource
    private EsKlineDao esKlineDao;

    @Override
    public List<Kline> getKlineBySymbolAndDateBetween(String symbol, Date start, Date end) {
        return null;
    }

    @Override
    protected EsBaseDao<Kline, String> getEsBaseDao() {
        return esKlineDao;
    }

}